Skip to content

update#1

Open
theshadow76 wants to merge 9 commits into
TheSunsetCode:mainfrom
theshadow76:main
Open

update#1
theshadow76 wants to merge 9 commits into
TheSunsetCode:mainfrom
theshadow76:main

Conversation

@theshadow76
Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings April 29, 2026 09:49
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR appears to add/update generated analytics artifacts (PNG charts) and introduces a sample trading strategy definition JSON, plus a small text file under the EPFL hackathon directory.

Changes:

  • Add three Matplotlib-generated PNG charts: repos_per_user.png, loc_by_user.png, loc_by_language.png.
  • Add ChipaSoftware/example-strategy.json describing a node/edge trading strategy and corresponding jsonLogic representation.
  • Add epfl/hackathons/2026/NetView/test.txt.

Reviewed changes

Copilot reviewed 2 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
repos_per_user.png Adds a generated Matplotlib PNG chart.
loc_by_user.png Adds a generated Matplotlib PNG chart.
loc_by_language.png Adds a generated Matplotlib PNG chart.
epfl/hackathons/2026/NetView/test.txt Adds a 1-line text file (fd).
ChipaSoftware/example-strategy.json Adds an example trading strategy graph plus a tradingBot + jsonLogic representation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +403 to +410
"var": "moving average"
}
]
},
"sellRules": {
"or": [
{
"var": "moving average"
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The jsonLogic rules reference { "var": "moving average" }, but the defined indicator outputs/fields use field: "ma" and IDs like indicator-.... As written, these rules look like placeholders and likely won’t evaluate against the produced data. Update buyRules/sellRules to reference the actual field path or indicator output used by your jsonLogic evaluator (e.g., ma or an indicator id).

Suggested change
"var": "moving average"
}
]
},
"sellRules": {
"or": [
{
"var": "moving average"
"var": "ma"
}
]
},
"sellRules": {
"or": [
{
"var": "ma"

Copilot uses AI. Check for mistakes.
@@ -0,0 +1 @@
fd
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file only contains fd, which looks like a placeholder/accidental commit rather than a meaningful test artifact. If it’s not required for the project, please remove it; otherwise replace it with a descriptive test case and/or rename it to reflect its purpose.

Suggested change
fd
Manual test case: verify NetView starts successfully and the default view loads without errors.

Copilot uses AI. Check for mistakes.
Comment on lines +65 to +70
"data": {
"period": "20",
"type": "Simple",
"source": "Close",
"outputField": ""
},
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The period parameter is inconsistently typed: some indicators use a number (14) while others use a string ("20"). If the strategy runner/schema expects a numeric period, the string value can cause parsing/validation failures. Normalize period to a consistent numeric type (or update the schema/serializer so it always writes the same type).

Copilot uses AI. Check for mistakes.
Comment on lines +68 to +69
"source": "Close",
"outputField": ""
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outputField is present but set to an empty string. If an empty output field name is invalid/treated as a real field, this can lead to writing to an empty key or silently dropping output. Prefer omitting outputField when unset, or provide a concrete default output field name.

Suggested change
"source": "Close",
"outputField": ""
"source": "Close"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants